package top.infopub.mgr.mkt.dao;


import org.apache.ibatis.annotations.Param;
import top.infopub.dto.mkt.AfterSummaryDto;
import top.infopub.generic.GenericDao;
import top.infopub.mgr.mkt.domain.AfterSummaryDomain;
import top.infopub.mgr.mkt.vo.AfterSummaryVo;
import top.infopub.model.mkt.AfterSummary;

import com.github.pagehelper.Page;


/** 标后总结(MKT_AFTER_SUMMARY) **/
public interface AfterSummaryDao extends GenericDao<AfterSummary, String> {

    /**
     * 根据条件查询标后总结分页数据
     * @param afterSummaryVo
     * @return 
     * @see
     */
    Page<AfterSummaryDomain> selectByDomainWhere(AfterSummaryVo afterSummaryVo);

    /**
     * 根据条件查询-我审批的标后总结分页数据
     * @param afterSummaryVo
     * @return 
     * @see
     */
    Page<AfterSummaryDomain> selectMyCheckByDomainWhere(AfterSummaryVo afterSummaryVo);
    
    /**
     * 新增
     */
    void insertById(AfterSummary afterSummary);
    
    /**
     * 详情
     */
    AfterSummaryVo queryById(String id);

    /**
     * 标后总结
     * @param id
     * @return
     */
    AfterSummaryDto queryDetailById(@Param("id") String id);

    void insertByProcess(AfterSummary afterSummary);
}